import request from "@/utils/request";

export default {
  // 每日任务
  dailyTasks() {
    return request.get("userTask/daily")
  },
  // 邀请任务列表
  inviteTasks() {
    return request.get("userTask/invite")
  },
  // 领取邀请任务奖励
  getInviteReward() {
    return request.get("userTask/getInviteReward")
  },
  // 领取每日任务奖励
  getDailyReward(id){
    return request.get("userTask/getDailyReward",{
      id
    });
  },
  // 分享成功
  postShareSuccess(){
    return request.get("userTask/share");
  }
};
